package hlhj.fhp.tvlib.javabean;

import java.util.List;

/**
 * Created by Administrator on 2018\5\25 0025.
 */

public class ShowListBean {

    /**
     * code : 1
     * msg : 获取成功
     * data : {"id":2,"tv_source":"1111111111","channel_name":"四川广播电视台","program":[{"time":"16:01","name":"撒打发斯蒂芬","type":"1","online":2},{"time":"17:37","name":"阿斯顿发送到发","type":"1","online":2}]}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 2
         * tv_source : 1111111111
         * channel_name : 四川广播电视台
         * program : [{"time":"16:01","name":"撒打发斯蒂芬","type":"1","online":2},{"time":"17:37","name":"阿斯顿发送到发","type":"1","online":2}]
         */

        private int id;
        private String tv_source;
        private String channel_name;
        private List<ProgramBean> program;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTv_source() {
            return tv_source;
        }

        public void setTv_source(String tv_source) {
            this.tv_source = tv_source;
        }

        public String getChannel_name() {
            return channel_name;
        }

        public void setChannel_name(String channel_name) {
            this.channel_name = channel_name;
        }

        public List<ProgramBean> getProgram() {
            return program;
        }

        public void setProgram(List<ProgramBean> program) {
            this.program = program;
        }

        public static class ProgramBean {
            /**
             * time : 16:01
             * name : 撒打发斯蒂芬
             * type : 1
             * online : 2
             */

            private String time;
            private String name;
            private String type;
            private int online;

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public int getOnline() {
                return online;
            }

            public void setOnline(int online) {
                this.online = online;
            }
        }
    }
}
